#include <QWidget>
#include <QLabel>
#include <ui_form.h>
#include <helloUiWidget.h>

HelloUiWidget::HelloUiWidget(QWidget *parent) : QWidget(parent)
{
    setupUi(this);
    AdjustLabel();
}

HelloUiWidget::~HelloUiWidget()
{
}

void HelloUiWidget::AdjustLabel()
{
    label->setGeometry(250, 180, 250, 40);
    label->setText(tr("<h1>Hello World UI!</h1>"));
    label->setStyleSheet(tr("color: rgb(80, 80, 80); background-color: rgb(180, 180, 180)"));
    label->setAlignment(Qt::AlignHCenter);
}
